package com.qiaofang.applet.service.member.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: youqing.yang
 * @Create: 2020/12/01 18:58
 * @Description:
 **/
@Data
@ApiModel("用户授权的头像和昵称信息")
public class HeadPortraitAndNameDto {

    @ApiModelProperty("openId")
    @NotNull(message = "openid不能为空")
    private String openId;

    @ApiModelProperty("用户的头像url")
    private String headPortrait;

    @ApiModelProperty("用户的微信昵称")
    private String wxName;
}
